package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.Invoice;
import cn.itcast.domain.cargo.InvoiceExample;
import com.github.pagehelper.PageInfo;
import java.util.Map;

public interface InvoiceService {

  PageInfo<Invoice> findByPage(InvoiceExample invoiceExample, Integer pageNum, Integer pageSize);

  Invoice findById(String invoiceId);

 Map<String,Object> delete(String id);

  void save(Invoice invoice);
}
